package com.ibm.spatiotemp.index;

import com.ibm.spatiotemp.datamodel.datatype.Constraints;

public class IndexDataLoaderFactory {

	public static IndexDataLoader getIndexDataLoaderInstance(String pathaskey){
		
		if(Constraints.INDEXCACHECLASS_REDIS.equals(com.ibm.spatiotemp.server.config.LocalConfig.MEMCACHECLASS))
		{
			return new JedisIndexLoader( pathaskey);
		}
		else
		{
			return null;
		}
	}
	
}
